package com.jixiang.tracedata.mapper;

import com.jixiang.tracedata.model.flight.Msg;
import com.jixiang.tracedata.model.flight.Segment;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

/**
 * @author quanbiao
 * @date 2018-09-03
 */
@Mapper
public interface FlightMapper {

    /**
     * 航班报文头节点
     * @param msg
     * @return
     */
    Integer addFlightMessage(Msg msg);

    /**
     * 报文数据节点
     * @param segmentList
     * @return
     */
    Integer addFlightSegment(List<Segment> segmentList);

}
